<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="net.sf.rose.exception.SystemException"%>
<%@page import="java.io.*"%>
<%@include file="/common/header.jsp"%>
<%
Throwable e = (Throwable) request.getAttribute("exception");
if(e instanceof SystemException){
	SystemException se = (SystemException)e;
	out.println(se.getMessage());
}else{
	StringWriter sw = new StringWriter();
	PrintWriter pw = new PrintWriter(sw);
	e.printStackTrace(pw);
	out.print(sw);
	sw.close();
	pw.close();
}
%>
